These functions are used to specify destinations for output images.
Returns the current output data reference.
pascal ComponentResult GraphicsExportSetOutputDataReference ( GraphicsExportComponent ci,
Handle dataRef,
OSType dataRefType);
pascal ComponentResult GraphicsExportGetOutputDataReference ( GraphicsExportComponent ci,
Handle *dataRef,
OSType *dataRefType);
The caller is responsible for disposing of the returned data reference handle.
pascal ComponentResult GraphicsExportSetOutputFile (GraphicsExportComponent ci,
const FSSpec *theFile);
Returns the current output file.
pascal ComponentResult GraphicsExportGetOutputFile (GraphicsExportComponent ci,
FSSpec *theFile);
pascal ComponentResult GraphicsExportSetOutputHandle (GraphicsExportComponent ci,
Handle h);
Returns the current output handle.
pascal ComponentResult GraphicsExportGetOutputHandle (GraphicsExportComponent ci,
Handle *h);
Specifies the output starting offset and maximum size limit.
pascal ComponentResult GraphicsExportSetOutputOffsetAndMaxSize ( GraphicsExportComponent ci,
unsigned long offset,
unsigned long maxSize,
Boolean truncateFile);
Returns the output starting offset and maximum size limit.
pascal ComponentResult GraphicsExportGetOutputOffsetAndMaxSize ( GraphicsExportComponent ci,
unsigned long *offset,
unsigned long *maxSize,
Boolean *truncateFile);
If you are not interested in some of these pieces of information, you may pass nil .
pascal ComponentResult GraphicsExportSetOutputFileTypeAndCreator ( GraphicsExportComponent ci,
OSType fileType,
OSType fileCreator);
pascal ComponentResult GraphicsExportGetOutputFileTypeAndCreator ( GraphicsExportComponent ci,
OSType *fileType,
OSType *fileCreator);
| Previous | Chapter Contents | Chapter Top | Next |